import React from 'react'
import { Route, IndexRoute } from 'react-router'
import App from '../components/App'
import Repos from '../components/Repos'
import Repo from '../components/Repo'
import About from '../components/About'
export default [
    {   path: '/',
        component: App,
        indexRoute: { component: Home },
        childRoutes: [
            {
                path: 'about',
                component : About
            },{
                path: 'repos',
                component: Repos,
                childRoutes: [
                    { path: 'repo(/:username)', component: Repo }
                ]
            }
        ]
    }
]